package cn.com.hp.feature.mapper;

import cn.com.hp.feature.domain.dto.MenuInfoDTO;
import cn.com.hp.feature.domain.dto.SysUserInfoDTO;
import cn.com.hp.feature.domain.entity.MenuInfo;
import cn.com.hp.feature.domain.entity.SysUserInfo;
import cn.com.hp.feature.domain.vo.MenuInfoVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: hjz
 * @since: 2022/8/29
 * @description:
 */
@Mapper
public interface MenuInfoMapper  extends BaseMapper<MenuInfo> {
    List<MenuInfoVO> selectMenuList(@Param("param") MenuInfo menuInfo);
    Page<MenuInfo> selectMenuPageByRequest(Page<MenuInfo> page, @Param("param") MenuInfoDTO menuInfoDTO);
}
